package org.example.modules.user.service;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.modules.user.common.Commsult;
import org.example.modules.user.entry.SideJobMain;
import org.example.modules.user.entry.vo.JobFeedBackVo;
import org.example.modules.user.entry.vo.OrderRankVo;
import org.example.modules.user.entry.vo.SideJobMainVo;

import java.util.List;

/**
 * @Description SideJobMainService
 * @Author xiaotian
 * @Date 2025-04-17
 */
public interface SideJobMainService extends IService<SideJobMain> {
    List<SideJobMainVo> getAllSideJob();

    Integer saveSideJob(JSONObject data);

    List<SideJobMainVo> getSideJob(JSONObject data);

    SideJobMainVo getSideJobDetails(JSONObject data);

    Commsult accpetJob(JSONObject data) throws Exception;

    List<OrderRankVo> getOrderRank();

    List<JobFeedBackVo> getJobFeedback();

    SideJobMain getJobDetailsById(Integer orderId);
}
